package com.hnzq.cloud.exception;

public class FreshException extends RuntimeException{

    private Integer code;

    public FreshException(String msg, Integer code) {
        super(msg);
        this.setCode(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
